package cn.gson.boot.model.mapper;

import cn.gson.boot.model.pojos.Guest;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GuestMapper {
    //获客分页查询和模糊查询
    public List<Guest> allGuests(@Param("gLianxir") String gLianxir,
                                 @Param("gLxfshi") String gLxfshi,
                                 @Param("gGongsi") String gGongsi,
                                 @Param("gBeizhu") String gBeizhu,
                                 @Param("gXuqiu") String gXuqiu,
                                 @Param("gState") String gState,
                                 @Param("gRizhi") String gRizhi,
                                 @Param("empId") int empId);

    //通过id查询
    public Guest xqGuests(@Param("gId") Integer gId);
}
